package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.GroupPersonnelDao;
import io.renren.entity.GroupPersonnel;
import io.renren.service.GroupPersonnelService;



@Service("groupPersonnelService")
public class GroupPersonnelServiceImpl implements GroupPersonnelService {
	@Autowired
	private GroupPersonnelDao groupPersonnelDao;
	
	@Override
	public GroupPersonnel queryObject(Integer id){
		return groupPersonnelDao.queryObject(id);
	}
	
	@Override
	public List<GroupPersonnel> queryList(Map<String, Object> map){
		return groupPersonnelDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return groupPersonnelDao.queryTotal(map);
	}
	
	@Override
	public void save(GroupPersonnel groupPersonnel){
		groupPersonnelDao.save(groupPersonnel);
	}
	
	@Override
	public void update(GroupPersonnel groupPersonnel){
		groupPersonnelDao.update(groupPersonnel);
	}
	
	@Override
	public void delete(Integer id){
		groupPersonnelDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		groupPersonnelDao.deleteBatch(ids);
	}
	
}
